AUTOMAKE_OPTIONS=foreign
my3ddd=/home/ligb/test-share-lib
bin_PROGRAMS=test
test_SOURCES= main.c
test_LDADD= $(my3ddd)/foo/my1.so $(my3ddd)/foo2/my2.so  $(my3ddd)/foo1/my3.so $(my3ddd)/foo2/foo2-1/my21.so
#LIBS=-L/usr/lib -L./  -L./foo2 -L./foo
AM_CPPFLAGS=-I$(my3ddd)/foo2 -I$(my3ddd)/foo1 -I$(my3ddd)/foo2/foo2-1



